#include "mainwindow.h"

#include <QApplication>
#include <QFile>

//读取配置文件渲染界面
QString loadQSS()
{
    QFile file(":/style.txt.txt");
    file.open(QFile::ReadOnly);
    QString style=file.readAll();
    return style;
}
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setStyleSheet(loadQSS());

    MainWindow w;
    w.show();
    return a.exec();
}
